package com.xuetang9.t9.hotel.services;

import com.xuetang9.t9.hotel.beans.EFood;
import com.xuetang9.t9.hotel.mapper.condition.impl.FoodCondition;

import java.util.List;

public interface IFoodService {

    List<EFood> queryByCategoryId(long categoryId);

    List<EFood> queryAll();

    List<EFood> foodList(int nowPage,int size);

    boolean insertFood(EFood food);

    boolean deleteFood(int id);

    boolean updateFood(EFood food);

    int countFood();

    List<EFood> queryByAll(FoodCondition condition);

    boolean updateByClean(FoodCondition condition);

    Long selectByCount(FoodCondition condition);

    List<EFood> analysisFood();

    EFood one(Integer id);

    List<Integer> queryFoodOrder();

    List<String> queryFoodName();
}
